﻿
namespace GSOrganization.Application;

/// <summary>
/// 人员的列表展示
/// </summary>
public partial class SysPersonOutput
{
    public SysPersonOutput()
    {
        this.SysRole = new HashSet<SysRole>();
    }
   
    /// <summary>
    /// 主键
    /// </summary> 
    public string Id { get; set; }
    /// <summary>
    /// 登录用户名
    /// </summary>
    [System.ComponentModel.DataAnnotations.StringLength(256)]
    public string LoginName { get; set; }

    /// <summary>
    /// 密码
    /// </summary>
    [System.ComponentModel.DataAnnotations.StringLength(256)]
    public string Password { get; set; }
    /// <summary>
    /// 再次确认密码
    /// </summary>
    [System.ComponentModel.DataAnnotations.StringLength(256)]
    public string SurePassword { get; set; }
    /// <summary>
    /// 联系人
    /// </summary>
    [System.ComponentModel.DataAnnotations.StringLength(256)]
    public string ContactPerson { get; set; }
    /// <summary>
    /// 联系人电话
    /// </summary>
    [System.ComponentModel.DataAnnotations.StringLength(32)]
    public string ContactPhone { get; set; }

    /// <summary>
    /// 单位名称
    /// </summary>
    [System.ComponentModel.DataAnnotations.StringLength(256)]
    public string DepartmentName { get; set; }
    /// <summary>
    /// 组织机构代码
    /// </summary>
    [System.ComponentModel.DataAnnotations.StringLength(32)]
    public string Code { get; set; }
    /// <summary>
    /// 单位地址
    /// </summary>
    [System.ComponentModel.DataAnnotations.StringLength(256)]
    public string Address { get; set; }
    /// <summary>
    /// 法人
    /// </summary>
    [System.ComponentModel.DataAnnotations.StringLength(32)]
    public string Representative { get; set; }

    /// <summary>
    /// 状态
    /// </summary>
    [System.ComponentModel.DataAnnotations.StringLength(32)]
    public string State { get; set; }
    /// <summary>
    /// 备注
    /// </summary>
    [System.ComponentModel.DataAnnotations.StringLength(32)]
    public string Remark { get; set; }

    /// <summary>
    /// 角色
    /// </summary>
    public ICollection<SysRole> SysRole { get; set; }
}



